package com.study.redis.article.service;

import com.study.redis.article.domain.Article;

import java.util.List;

/**s
 * Created by hegy on 2018/6/4.
 */
public interface ArticleService {

    List<Article> listArticle(String type);

    void addArticle(Article article);

    boolean delArticle(String articleId);

    boolean voteArticle(String artId, Integer id);

}
